<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
</html>
<script type="text/javascript">
	// es6允许在大括号里面直接写入变量和函数，作为对象属性和方法
	let name = 'xiaoming';
	let change = function(){
		console.log("change!")
	}
	
	const school = {
		name,
		change,
		hello(){
			console.log("hello");
		}
	}
	
	console.log(school)
	
</script>